<?php
/*
 +----------------------------------------------------------------------
 + Title        : CacheConfig 控制器
 + Author       : Randy_chen
 + Version      : V1.0.0.1
 + Initial-Time : 2019/6/6 15:49
 + Last-time    : 2019/6/6 15:49+ 86187
 + Desc         : 缓存配置
 +----------------------------------------------------------------------
*/


namespace app\common\lib;


class CacheConfig
{
    //用户权限
    const API_USER_PRIVILEGE = [
        'key'    => 'API_USER_PRIVILEGE_',
        'expire' => 3600
    ];

    //用户token
    const API_USER_TOKEN = [
        'key'    => 'API_USER_TOKEN:',
        'expire' => 7200
    ];
    //token-用户
    const API_TOKEN_USER = [
        'key'    => 'API_TOKEN_USER_',
        'expire' => 7200
    ];


}